package pers.litao.bit.commons.entities.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author 李涛
 * @date 2020-12-18 16:17
 */
@Data
@TableName("t_sales")
@Accessors(chain = true)
public class SalesEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private Integer num;

    private BigDecimal money;

    private Long createTime;

    private Long userId;

    private Long orderId;

    private Integer isCalculate;
}
